<?php
defined ( 'BASEPATH' ) or exit ( 'No direct script access allowed' );
/**
 * 系统工具
 *
 * @author LeeNux
 *        
 */
class Assists extends CI_Controller {
	public function captcha() {
		$this->output->set_content_type ( 'image/gif' );
		$this->load->library ( 'captcha' );
		$captcha = $this->captcha->create ();
		$this->session->set_userdata ( 'captcha', $captcha );
	}
	public function debug() {
		$session = $this->session->all_userdata ();
		var_dump ( $session );
	}
}
